/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.gra.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.gra.entity.Tasks;
import com.thinkgem.jeesite.modules.gra.dao.TasksDao;

/**
 * 任务管理Service
 * @author wuzengli
 * @version 2017-05-03
 */
@Service
@Transactional(readOnly = true)
public class TasksService extends CrudService<TasksDao, Tasks> {

	public Tasks get(String id) {
		return super.get(id);
	}
	
	public List<Tasks> findList(Tasks tasks) {
		return super.findList(tasks);
	}
	
	public Page<Tasks> findPage(Page<Tasks> page, Tasks tasks) {
		return super.findPage(page, tasks);
	}
	
	@Transactional(readOnly = false)
	public void save(Tasks tasks) {
		super.save(tasks);
	}
	
	@Transactional(readOnly = false)
	public void delete(Tasks tasks) {
		super.delete(tasks);
	}
	
}